Remove unneeded Javascript, use "target" attribute instead.

fixes #206