Revert "simple jQuery solution"

This reverts commit f76d1cc5f392f09d7a82b4ca6d62abcef62a0d99.