Comment 2 for bug 852018

Just committed a fix for the problem in the form of a guard clause that comments out the hash bang lines in js files if present.