core js and css init moved into assets class
assets bugfix