add a add-on dir for static js resource