Adding placeholder view class, fixing js