Revert "forgotten js for browser"

This reverts commit 355f5b2f60fc6756e84233d141d780bf75676f3a.