added JS and jQuery to pop image into slider; also added tests
major changes to test.js and main.js; all test.js commented with explanations