Fixed CSS/JS/img loading bug