Fix issue #4

Fixed issue #4 and minor bugs:

* A JS call to `$().UItoTop()` should be done if `totop` is defined only
* Remove wrong `</div>`