[Pastels] added prototype of Pastels class
[View] use of Pastels class to prepending scripts