Added version to bower, and small code formatting changes