New option to not use javascript. Fixes #47