minor syntax fixing before trying requireJS