Change plugins to regular javascript to prevent error in WIndows