Added advanced parameters to getJavascriptTag API call.  Adjusted back-end logic to more closely mirror jsTrackingGenerator.js.