completed. only used google to fine JS equivalent for upcase