refactored function for setting options to jshint, server knows its ip address now