Had jetbeans format the code cleaner. Will do the same with the js file