QBasic to JavaScript converter