moved CSS loading scripts to seperate file to use JSHint on it