Add fix to makefile and add html5mode

Dette krever ekstra setup for testing, right?