Improve getCSSPath and getJSPath

Added a test if the file exist and removed the @ on filemtime()