Updated root component path handling

It no longer needs to be on the same base path as the other components.
Also uppdated it to follow code standard from jscs with preset "google".