staticResource.js not working