Restructured JS and added core slider plugin