moved script src, more alert tests