mobile fix with js