Added Documentation and JS updates

Double running alert bug fixed. Documentation added to repo