Added critical parseFloat() to JS