Fixed console errors and copying files (scripts and styles) insted of using relative paths