updated granular-patches
added os selection to html page
fixed javascript and put css in separate file