added spin js library