Add to javascript