moapps javascript sdk