js and css resources fixups