A social media cross-platform javascript interface