Fixed more indentation and moved JS file to the static folder