simplify options handling code
simplify options handling code

sverrejoh/browserify-hmr,royriojas/browserify-hmr,AgentME/browserify-hmr,AgentME/browserify-hmr,royriojas/browserify-hmr,AgentME/browserify-hmr,sverrejoh/browserify-hmr,royriojas/browserify-hmr,sverrejoh/browserify-hmr