Making sure that no script is added if js is disabled.