Main JavaScript

The initial javascript file that will lead to awesomeness