Refactored the setJS and setCSS loading paths