Minor updates, code formatting.
Overlay style fix
Bootstrap compatibility.
Do not rely on $.support. We do not want to use 'filter' anymore.
Move everything to the top.