Implicit global memoized value files and allow js-styles to change

Fixes for #850 (js-style changing during runtime) and #616 (global config files shouldnt be required to be defined in memoized values).

Should be merged in after #1035 since its branched from that branch.