@Leonardo_Augusto are you overriding existing js eg:
customer.js
if yes then there is the following way to write in hooks
doctype_js = {
"Customer":["customize/customer.js"],
"Sales Order":["customize/sales_order.js"]
}
and if your tring third party integration then you put your js and css there following link might help you