working version requirejs removed. Php rest service works