script for our 360 foto player JS