Javascrpt game modifications