Using JavaScript to Invoke Actions in Swift MEAP