angular and browser versions now work-both can load either exposed file and directly exposed JS object