Improvements to the converter (constants that were missing due to inconsistencies in the JavaScript (spacing, quotes)