Fix Javascript and Stylesheets to properly include resource files in production