adds themes javascript