JavaScript bootstrapping for Plyfe platform widgets