added javascript map