removed unused javascript. Fixes #998