Social Media JavaScript Framework for Single-page Apps