Made Javascript file external for ease of use, altered small gameplay mechanics