Fixed bug where code injection code was missing, improved code injections of Typed Arrays
Improved js namespace generation