Improved QLS JS compiler