resolve firefox issue & inline script & nav issue