More javascript trialling