added javascript snippet for keen.io