Add ability to dynamically generate HTTP response through Javascript

1. Add notes to README and source code comments
2. Add ability to generate http response through javascript