javascript magically works now on mobile