add feature migrate all tables in db. + JSHint: Lint Free

Hello, I added one feature to migrate all tables in db.
I also did some JSHint fixes.

I have tested it and it works for me.
I hope this would work for you too.

Thank you.