fix: Adding JS init code

@kitanata