Main JS file