Javascript no-jQuery alert framework that uses HTML url parameters