Render alert with js as well