Allowing settings.js to be used between node-side and client-side