Topic: Strange JS Error

I have a app which uses the Rails 3.2 asset pipeline. If I use the standard way and throw everything in the application.js my code highlighter doesnt work anymore. If I separate the file and add it manually to the asset precompiler and application layout file its working like a charm. Do you have any suggestions on how to debug this?