Java Script with Proximity Sensor [Resolved]