Javascript Cleanup

Removed un-needed functions from the core library.