Buil lapi.js and add rotate tool.