Solved problem with require js. Now it flies