add js to scoped pages