Working on area js template