client side code will use requirejs. updated plan in README.