How to make universal JavaScript applications – Part 1
medium.com