Js helpers

Created a function register-javascript-helpers! that wraps similar method in handlebars.java. This allows same helpers to be used in both server side and client side rendering.