replaced status shell with javascript