add CSS for invalid query popup
add div for alert box
add JQuery for error box
don't reinstantiate lexer/parser on every call