Javascript Create Html Element Javascript Value Not Working