implemented .js and .css wid property handling logic