added gritter notifications. Solved the issue in js.erb files where everything outside the broadcast block would be ignored (<% instead of <%=)