Added another js log, and reverted html submit to a button