changed the name & made the js a little more secure