sugarcoated javascript