Javascript Create Html Element Javascript Value Changed