Add features using javascript