an isomorphic Resource engine for JavaScript