completed jsbestpractices2