Fixed component build and some more jshinting