[spa/ajax] add javascript files and make it work without errors !
* todo : inject html in the right place

#8