[CHORE] Code cleanup for npm publish

Signed-off-by: Alex Roth <alex@coschedule.com>