Remove console logging and move css loading before script loading