add lib; mv spec to test
fix sample html
add og using json; fix parsing in lib; add tests back