change rest path in js; add scroll to metas section