Add js helpers.