Removed unused javascript code.