bs to js, and header