move js to modevlib