Using the javascript docs for a trial bases