Remove orientation through Javascript Code