Add backend JS code