Developing the tags manager - js

Small fixes here and there and some improvments in views/js/main.js as
well as fixes. The Tag phraser still have a bug (line : 120 in main.js).