Update xlayout.js

Added license.