add js in preprocess. style popup