fix mobile navbar jquery bug
fixed mercury bug by using rails generated paths instead of hard-coded paths