fixed javascript error messages

used:
$(document).ajaxComplete(function() {…..
to keep scripts from running until ajax call is finished
Merge branch 'try-to-add-ajax-errors'
Merge branch 'Nick'

This reverts commit 6767b14329159a2d5dc558112c344ba6c6e0cabd.
remove HEAD
Merge branch 'laura'
error styles
Merge branch 'master' into laura

Conflicts:
	log/development.log