modified so you can supply a custom path to audiojs (tested for grails)