fixed: namespace bug

when triggering it should trigger for all show / hide, not just for
show.visibility / hide.visibility
fixed: js-lint errors

code now passes js lint
also added strict mode
changes are mostly cosmetic and for compliance
added: export of current state

document.hidden will now always reflect the current state, regardless
of browser.
updated: version number, readme and demo

updates to reflect changes