added js and css resource path fns