make femto nearly jslint compliant