Removed the Comments and Formatted

Removed extra spaces and formatted the entire javascript