javascript fix attempt for mobile
Merge pull request #9 from Quadrophone/master

js fix