fix ordering of observe-js definition