change: move js to lib