proxy js works