Applesoft BASIC in JavaScript