Clean up mappings for buffers and minor format cleanup
Add html snippets
Update javascript snippets