remove old graph and set js (converted to coffeescript)
convert force_view to coffeescript