added main .js script