added inject options to injectAppJS()