Fixed an error that occured when running JavaScript code
Added a script convenient for running twine without X11
Fixed remaining problems with .travis.yml