Removing the getdb function - unneeded
Removing the "Prototype" part of the header

This is production code!
All js added to static, icon, tiding