adding JS solution to 7th problem since bash was not fast enought to provide check for sass