js - save the module settings (order and visibility)