Some experimental js

this is for detecting browser with HTML support.