Fix some JS errors about missing modules in the manager

This was litteraly blocking any access to the manager