fix for show_flash_error not existing in spree coffeescripts