Fixed Javascript issue caused by server side class-name refactoring