Fix loading of main JS File