saving notebook does not run cell.

Thus running cell instead of saving notebook
return elements instead of append them directly

+ jshint fixes