change startPath from window.location.pathname to window.location.href to handle pages w/ query params
change startPath from window.location.pathname to window.location.href to handle pages w/ query params

re: https://github.com/01org/appframework/issues/312

Docworld/appframework,yuanxin1988/appframework,Allan0815/appframework,randy-ran/appframework,busseyl/appframework,KeithLee208/appframework,swaydeng/appframework,9-9-9/appframework,ouyanghuangzheng/appframework,ttym7993/appframework,ktsour/appframework,airamrguez/appframework,mkseva/appframework,kyo-ago/appframework,zhengcq315/appframework,iamxiaoma/appframework,zamelsky/appframework,ramitallal/appframework,jcuervo/appframework,xiongxiong109/appframework,xujianrj/appframework,HandMobile/appframework,boytek/appframework,pengting/appframework,huq2015/appframework,wl-pro/appframework,fudaoji/appframework,KeithLee208/appframework,mouhammad-zd/appframework,jiushiliu/appframework,qicrosoft/appframework,3Gen-ITDev/appframework,haroldoramirez/appframework,huyongliang/appframework,gch35pty/appframework,andrejfilatov/appframework,xujianrj/appframework,gudoy/appframework,pabloalcaraz/appframework,webin/appframework,ImCodeMonkey/appframework,liuzhentao/appframework,eliassun/appframework,joenjuki/appframework,JackieWei/appframework,whlcly/appframework,qq40660/appframework,lesion/appframework,prma85/appframework,qinlicang/appframework,nomadgit/appframework,jonahx/appframework,vinivinilos/appframework,maxid/appframework,Connectlegendary/appframework,handong890/appframework,zhaofeng555/appframework,Rockfogel/appframework,JPithy/appframework,9-9-9/appframework,Basildcruz/appframework,dongguangming/appframework,kschuster/appframework,VIP000/appframework,Kuziwa/appframework,maxid/appframework,mastrobardo/appframework,macong/appframework,pranay06b/appframework,FortschrittApps/appframework,mastergizmo/appframework,huyongliang/appframework,mastergizmo/appframework,picturelink/appframework,HappyYang/appframework,vincent1988/appframework,Basildcruz/appframework,vinivinilos/appframework,weiwei03/appframework,feilwang/appframework,leonlau81/appframework,RedrockTeam/appframework,zipang/appframework,patrick-lake/appframework,eliassun/appframework,yeahsj/appframework,hnney/appframework,jobinson99/appframework,asa1230/appframework,anysisze/appframework,derk/appframework,LB4027221/appframework,busseyl/appframework,lpftobetheone/appframework,dizzydriver/appframework,gravity-addiction/appframework,handong890/appframework,iamshenhua/appframework,gravity-addiction/appframework,andrejfilatov/appframework,ilaorou/appframework,boytek/appframework,kyo-ago/appframework,jiushiliu/appframework,VIP000/appframework,areeftee/appframework,Authorlove/appframework,PuterGIrl/appframework,joenjuki/appframework,docnoe/appframework,rubenvp8510/appframework,haroldoramirez/appframework,Julienedies/appframework,asa1230/appframework,leokt/appframework,iamxiaoma/appframework,zhuxj/appframework,eagle-one78/appframework,michelpa/jQ.Mobi,elitelinux/appframework,duhaibo0404/appframework,michelpa/jQ.Mobi,zhukaijun/appframework,hnney/appframework,langowskiadam/appframework,ImCodeMonkey/appframework,HandMobile/appframework,huq2015/appframework,intel-alex/appframework,modulexcite/appframework,ouyanghuangzheng/appframework,jobinson99/appframework,Philzen/appframework,nosun/appframework,Kuziwa/appframework,flowbywind/appframework,jcuervo/appframework,eworthcms/appframework,WilliamRen/appframework,kityandhero/appframework,svdoever/appframework,landabaso/appframework,zhukaijun/appframework,pabloalcaraz/appframework,gavD/appframework,JPithy/appframework,wizza-smile/appframework,ssqstone/appframework,patrick-lake/appframework,swaydeng/appframework,mouhammad-zd/appframework,fjzdjd/appframework,bullines/appframework,mrliao/appframework,dongguangming/appframework,mkseva/appframework,leonlau81/appframework,cainianhua/appframework,windyao/appframework,minatocou/appframework,ezc/appframework,topishka/appframework,REALDROOPY/appframework,prma85/appframework,01org/appframework,joeey1984ad/appframework,BurhanRahmani/appframework,dnydoney/appframework,KehindeAyanleye/appframework,UmarMughal/appframework,chinakids/appframework,ishanladhani786/appframework,svdoever/appframework,krazik/appframework,langowskiadam/appframework,weiwei03/appframework,iHaD/appframework,picsize/appframework,ScalaSoft/appframework,WilliamRen/appframework,FortschrittApps/appframework,ScalaSoft/appframework,mrliao/appframework,zcgao/appframework,picturelink/appframework,heyxiaoling/appframework,hellovip/appframework,liuzhentao/appframework,krazik/appframework,yubingzhong/appframework,Harryyan/appframework,Hammer2014/appframework,dizzydriver/appframework,gto999/appframework,joeey1984ad/appframework,heyxiaoling/appframework,rockanita/appframework,SeekArt/appframework,jadulled/appframework,RobertoMalatesta/appframework,b-cuts/appframework,htsnet/appframework,gudoy/appframework,HappyYang/appframework,RobertoMalatesta/appframework,hbspatil/appframework,11com7/appframework2,jailecoeu/appframework,webin/appframework,zhuxj/appframework,drunz/appframework,jonahx/appframework,szdbb1102/appframework,naninha/appframework,shichuanwang/appframework,airamrguez/appframework,modulexcite/appframework,jiabier/appframework,szdbb1102/appframework,qq40660/appframework,flowbywind/appframework,yreme/appframework,01org/appframework,areeftee/appframework,lse123/appframework,donvan/appframework,PuterGIrl/appframework,xiongxiong109/appframework,sihai/appframework,Allan0815/appframework,naninha/appframework,larrychan/appframework,11com7/appframework2,Docworld/appframework,chengyan1215/appframework,UmarMughal/appframework,madebysoren/appframework,topishka/appframework,leokt/appframework,IPVE/appframework,vincent1988/appframework,EEG5Black/appframework,drunz/appframework,JackieWei/appframework,krisrak/appframework,feilwang/appframework,landabaso/appframework,Julienedies/appframework,donvan/appframework,Rockfogel/appframework,anysisze/appframework,eagle-one78/appframework,zhengcq315/appframework,larrychan/appframework,jailecoeu/appframework,macong/appframework,LeoYuan/appframework,boolie/appframework,Connectlegendary/appframework,minatocou/appframework,seekchange/appframework,esironal/appframework,Harryyan/appframework,derk/appframework,ezc/appframework,pengting/appframework,lesion/appframework,b-cuts/appframework,IPVE/appframework,leonet/appframework,jadulled/appframework,seekchange/appframework,esironal/appframework,mev9669/appframework,huawin03/appframework,docnoe/appframework,windyao/appframework,kityandhero/appframework,fjzdjd/appframework,ahmedali5530/appframework,sbignell/appframework,caox/appframework,rickel/appframework,rockanita/appframework,327326724/appframework,caox/appframework,dnydoney/appframework,pranay06b/appframework,yubingzhong/appframework,327326724/appframework,intel-alex/appframework,talha7o/appframework,XIAOGUIGUI/appframework,hozwe/appframework,nomadgit/appframework,ktsour/appframework,ishanladhani786/appframework,bdusell/appframework,LeoYuan/appframework,hbspatil/appframework