JS

Adding functions.