adding config and main js