moves js and css to resources