Updated scripts and moved rem fallback to enqueue scripts function