relocate js charts assignments