Require js assets in right way