add alerts JS and coffee hooks