cleanup js
minor controller cleanup
show more specific errors when project share fails