Move raty.js to lib