A simple maze game coding in JavaScript for fun