add js controller tests
did javascript exercises