Add functionaljavascript