Modifying Powder Game 2 with Javascript