Better loader JS and build bugfixes.