making progress
almost everything working ok

next step - rewrite js files