Creating A Javascript Functions Cheat