Minor cleanup on JS page