added js functionality. added sprite images and styles.