js base application