Issue #1089300 by nod_, mfer, JohnAlbin, ksenzee: Clean up drupal.js.
Merge pull request #283 from Twinmat/JSdrupalclean

Issue #1089300 by nod_, mfer, JohnAlbin, ksenzee: Clean up drupal.js.