about to add js post functionality