Cleaned up alerts from js