Put inline JS in its own JS file
Added inline JS to own JS file
sdfds
removed newlines