Removed some javascript code that is not being used right now.