reload on js file changes
some more states