splitting javascript in a new file
new file
formatting]