Changed res.render to render.render to use global variables. Closes #29
Added new way of displaying scripts in development environment
Re-factored client side code (see #23). Still some work to do