Small JS improvements
Merge pull request #184 from Yoast/stories/AM/dashboards-frontend

Small JS improvements