extract JS into module