Example javascript