Fixed demo and self-executed function

- demo page fixed, now using hosted jQuery
- showVisible is now self-executed
- if-else removed, only if with return is needed