IE9 and lower breaks jQuery mobile URLs

IE9 and lower breaks jQuery mobile URLs

Wether it's links or the $.mobile.changePage(); function, everytime I load in a different page the URL messes up with a #, for example, if the page I was initially one was called

http://localhost/project_dir/index.php/home/

and I wanted to go to

http://localhost/project_dir/index.php/home/promotions

the resulting URL would behttp://localhost/project_dir/index.php/home/promotions#/project_dir/index.php/home/promotions

It's 4AM and I'm clueless as to why it's happening - any ideas?