Fix #1055

Fixed JS for forum jump, simplified the code a bit, removed the weird
redundant "Please select one:" and "--------" options which redirected
to index.

https://github.com/mybb/mybb/issues/1055