Adding spin js file