Manually generates the javascript that prototype_helper fails to do with ruby1.9.2.
Authored by: jplang 2012-04-25
Parent: [r9528]
Child: [r9530]