support js also in the editor