refactor: start conversion to closure compiler