Added default functions to JS and continued readme