Finished Javascript, Added to all pages