request_handler.js Semicolons and Comparison Operators

Inserted missing semicolons and changed several instances of != and ==
to !== and ===.