note on interaction with JS layer