use diffrent jshint config files based on context

If javascript is in public directory, use browser config.