wm: ORM JavaScript loading fixed