added main js and pahser