Create pc_api.js

modified pony countdown script