updated readme to add new javascript functions