Initializing Javascript Demo.