edited mobile js