JSHint suggestions : trailing whitespaces, mixed space  tab, too long lines
JSHint suggestions : trailing whitespaces, mixed space  tab, too long lines
Remove async:false from saving operation, as it disabled the spinner notification. Changed to promise based implem

Code review : Cyrus Venn Casada
Code clean up : added comment block, implemented JSHint suggestions