set lungojs code in a proper place
adding dynamic data events in the fronted