extract common js/css to main