Handling requests the wrong way first; add return statements to the requestHandler functions
Return 404 text if request cannot be found
Refactor onRequest function to respond with named content function