Java Script Library for rotete images