updated code to use as_javascript from the mesaure model
updated version of bonnie_bundler to latest