SyntaxFix
Write A Post
Hire A Developer
Questions
echo '<script language="javascript>';
Seems like a simple typo. You're missing a double-quote.
echo '<script language="javascript">';
This should do.