Clean up the commented out js code