Changed button read javascript