Start of js thumbnail selection and jasmine specs.