moved example JS in preparation to do more for other devices