Javascript code should be in source (coding) window instead of placing .js in splunk installed directory