Wrapped JS in an anonymous function