javascript from science center page