Fixed broken javascripts bindings and specs