fixed deprecated doctype and updated the build script to support deploying to heroku