Code update

Contains a lot of code changes including the following:

* Completely removed CoffeeScript as a dependency as only pre-compiled JavaScript is used in the browser or node environments
* Updated dependencies (jsdom and optparse)
* Improved Windows compatibility
* Improved quality of code and changed coding standards
* Added more documentation to code while also improving existing documentation
* `absolute` option now correctly applies to images 
* Improved compatibility with older browsers