updated mobile js