change load scripts, now all load with headjs
add file xml to support opensosial gadget