Improved JS runtime