auto-formatting for demo using jslint. model is shown. demo architecture improved. email demo added