Remove some logic from template and added it into grunt-browser-db-task

Adding legacy flag and human readable version.