build browser scripts