prevent losing unsaved changes
add bower configuration
fix bower directory