In FF and all, my javascript works fine. But in Chrome it gives this message:
Resource interpreted as script but transferred with MIME type text/plai
If its IIS make sure That Under your common HTTP Features you have Static Content turned on
common HTTP Features
Static Content