Removed junk js code