added mobile js snippet