Add js declaration to builds