Integrate Mobile js updates from Matt