move bonnie_measure_javascript out of assets directory
refactor result to be in a model