javascript compile notifications