update js and java to make plugin visible