adjust the base js code, so it can be used with webpack

silkapp/rest#81
add space between function name and params
Merge pull request #84 from coubeatczech/i81b
rest-gen JavaScript: Defer getting window.$ until requests are being made to prevent forcing an include ordering between the api and jquery (#84)