Javascript Test Function Service