Framework for building ZX81 style games using javascript