Javascript Change

A small Javascript change for mobile