Fixed minification error on anchorScroll function