[js] remove wrong static modifier