moved app js to top again, still having problems with register button