Add javascript functionality for lazyloading (echo.js) and pjax preloading (instant click.js).