fixed jslint issues with tabs/spaces