tighten regex for jslint