Pure JavaScript Library for OnePages