make javascript optional on the random page