fix seajs paths in demo layout, fix #1008